package com.yy.pojo;

import java.util.List;

public class Teacher {
    private int id;
    private String teacherName;
    private int teacherId;

    private List<Course> course;

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", teacherName='" + teacherName + '\'' +
                ", teacherId=" + teacherId +
                ", course=" + course +
                '}';
    }

    public Teacher() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public Teacher(int id, String teacherName, int teacherId) {
        this.id = id;
        this.teacherName = teacherName;
        this.teacherId = teacherId;
    }
}
